//
//  HMTeacherSignInOneCell.m
//  TEXTS
//
//  Created by 陈辉明 on 2017/12/5.
//  Copyright © 2017年 goldwin. All rights reserved.
//

#import "HMTeacherSignInOneCell.h"
#import "HMTeacherAttendanceRecordModel.h"

@interface HMTeacherSignInOneCell()
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *contenLabel;


@end

@implementation HMTeacherSignInOneCell

-(void)setModel:(HMTeacherAttendanceRecordModel *)model {
    _model = model;
    self.timeLabel.text = [NSString stringWithFormat:@"%@",model.createTime];
    if ([NSString isBlankString:[NSString stringWithFormat:@"%@",model.reason]]) {
         self.contenLabel.text = [NSString stringWithFormat:@"请假事由:   "];
    } else {
         self.contenLabel.text = [NSString stringWithFormat:@"请假事由:   %@",model.reason];
    }
   
    
}

@end
